package cn.zymall.merchant.service;

import cn.zymall.common.model.Merchant;
import cn.zymall.common.model.StoreType;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MerchantAccountService extends IService<Merchant> {
	List<Merchant> getAllMerchant(Integer merchantStatusId);

	Merchant getSingelMerchant(Integer merchantId);

	Integer updataMerchantInfo(Merchant merchant);

	List<String> getMerchantAllAccount();

	Integer updataMerchantStatus(Integer merchantId,Integer merchantStatus);

	Integer addMerchant(Merchant merchant);
}
